#pragma once

#include "../Control/Container.h"

class GUI_API CMessageBoxCon : 	public CContainer
{
public:
	CMessageBoxCon(HWND hWnd);
	virtual ~CMessageBoxCon(void);

public:
	inline void SetMaskBmp(HBITMAP pBmp)
	{
		if(pBmp)
		{
			if(m_pBmpMask)
			{
				delete m_pBmpMask;
				m_pBmpMask = NULL;
			}
			m_pBmpMask = new CBitmap();
			m_pBmpMask->Attach(pBmp);
		}
	}

	inline CBitmap* GetMaskBmp()
	{
		return m_pBmpMask;
	}

	virtual BOOL InitControls(DWORD dwData);

public:
	wstring  m_strContent;
	wstring  m_strCaption;

private:
	CBitmap* m_pBmpMask;
};
